package com.zpark.merchant.service.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author RZS
 * @since 2024-04-28
 */
@Getter
@Setter
@TableName("staff")
@ApiModel(value = "Staff对象", description = "")
public class Staff implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId("ID")
    private Long id;

    @ApiModelProperty("商户ID")
    @TableField("MERCHANT_ID")
    private Long merchantId;

    @ApiModelProperty("姓名")
    @TableField("FULL_NAME")
    private String fullName;

    @ApiModelProperty("职位")
    @TableField("POSITION")
    private String position;

    @ApiModelProperty("用户名(关联统一用户)")
    @TableField("USERNAME")
    private String username;

    @ApiModelProperty("手机号(关联统一用户)")
    @TableField("MOBILE")
    private String mobile;

    @ApiModelProperty("员工所属门店")
    @TableField("STORE_ID")
    private Long storeId;

    @ApiModelProperty("最后一次登录时间")
    @TableField("LAST_LOGIN_TIME")
    private LocalDateTime lastLoginTime;

    @ApiModelProperty("0表示禁用，1表示启用")
    @TableField("STAFF_STATUS")
    private Boolean staffStatus;


}
